<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>测试规范文档</title>
    <link href="../css/home.css" type="text/css" rel="stylesheet"/>
    <link href="../css/bootstrap3.3.6.min.css" rel="stylesheet">
    <script src="../js/jquery2.1.1.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
</head>
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
    <div class="bottom">
        <div class="filter">
            <label>相关文档点击下载:</label>
            <button class="spec">
                <a target="view_window" href="../data/specFile/物业-2018年1季度版本计划_模板文档.xlsx">测试工作安排文档-模板</a>
            </button>
            <button class="spec">
                <a target="view_window" href="../data/specFile/提测文档.docx">提测邮件-模板</a>
            </button>
            <button class="spec">
                <a target="view_window" href="../data/specFile/冒烟测试报告.xlsx">冒烟测试报告-模板</a>
            </button>
            <button class="spec">
                <a target="view_window" href="../data/specFile/测试环境测试通过报告+模板.xlsx">测试报告-模板</a>
            </button>
        </div>
        <div class="content">
            <div class=Section1 style='layout-grid:15.85pt'>
                <h2><b><span style='font-size:15.0pt;line-height:173%;font-family:宋体'>• 编写目的</span></b></h2>
                <p class=MsoNormal style='text-indent:21.0pt'><span style='font-family:宋体'>本文档详细介绍易福利项目组测试流程规范文档，使测试工作更加流程化，规范化，为整个团队提供更好的服务</span></p>
                <p class=MsoNormal style='text-indent:21.0pt'><span style='font-family:宋体'>该文档的主要目标读者为测试人员，产品以及开发可以参考其中的意见。通过阅读本文档，可以使得读者对测试流程有进一步的了解，使测试工作能够更好的开展，测试促进研发，研发驱动测试，共同开发出更好的产品。</span></p>
                <h2><b><span style='font-size:15.0pt;line-height:173%;font-family:宋体'>• 测试开始条件</span></b></h2>
                <p class=MsoListParagraph style='margin-left:25.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <b><span style='font-family:宋体'>新项目</span></b>
                    <span style='font-family:宋体'>需求阶段，产品经理在这个时期需要生成研发需求文档给测试人员，测试开始介入，熟悉项目需求，着手设计系统测试方案以及用例编写和评审。</span>
                </p>
                <p class=MsoListParagraph style='margin-left:25.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <b><span style='font-family:宋体'>当新增功能或者版本升级</span></b>
                    <span style='font-family:宋体'>，需要对新增功能及升级模块进行测试，对其他关联模块进行回归测试。</span>
                </p>
                <h2>
                    <b>
                        <span style='font-size:15.0pt;line-height:173%;font-family:宋体'>• 测试流程</span>
                        <span style='font-size:15.0pt;line-height:173%'> </span>
                    </b>
                </h2>
                <p class=MsoListParagraph style='margin-left:25.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>测试启动阶段</span>
                </p>
                <p class=MsoListParagraph style='margin-left:42.0pt;text-indent:-21.0pt'>
                    <span lang=EN-US>a)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>产品</span> <span style='font-family:宋体'>研发和测试项目需求会议，明确需求及任务完成时间，产品经理需向测试人员提供产品项目需求文档</span>
                    <span style='font-family:宋体'>明确测试任务</span> <span style='font-family:宋体'>确定测试周期。</span>
                    <b><span style='font-family:宋体'>测试人员根据项目工作量大小及项目进度编写测试计划书并且给组员分配功能，对本次测试的范围、测试进度、测试策略等内容进行把控</span></b>
                    <b></b>
                    <b><span style='font-family:宋体'>（</span></b>
                <span lang=EN-US>
                    <a target="view_window" href="specificationFile/testPlan.htm"><b>测试工作安排文档-模板</b></a>
                </span>
                    <b><span style='font-family:宋体'>）</span></b>
                    <span style='font-family:宋体'>。</span>
                </p>
                <p class=MsoListParagraph style='margin-left:42.0pt;text-indent:-21.0pt'>
                    <span lang=EN-US>b)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>测试环境的准备，研发人员需告知搭建好的测试环境的服务器，如需测试人员搭建环境，研发人员需提供测试环境搭建文档或者手册。</span>
                </p>
                <p class=MsoListParagraph style='margin-left:25.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>设计用例阶段</span>
                </p>
                <p class=MsoNormal style='margin-left:42.0pt;text-indent:21.0pt'>
                    <span style='font-family:宋体'>在拿到产品功能列表和测试版本之后，测试人员就开始着手设计测试用例了。测试人员根据产品功能列表后尽量多的设计测试用例，尽可能多的覆盖所有的测试需求以及逻辑路径。</span>
                </p>
                <p class=MsoNormal style='margin-left:42.0pt;text-indent:21.0pt'>
                    <span style='font-family:宋体'>完成用例设计后需要做<b>用例评审</b>，评审人员包括</span>
                    <span style='font-family:宋体'>测试</span>
                    <span style='font-family:宋体'>开发和产品。评审包括三部分：</span>
                    <span lang=EN-US>1.</span>
                    <span style='font-family:宋体'>相关测试对功能做描述。</span>
                    <span lang=EN-US>2.</span>
                    <span style='font-family:宋体'>相关测试阐述自己的用例。</span>
                    <span lang=EN-US>3.</span>
                    <span style='font-family:宋体'>产品和开发对设计的用例给出意见。</span>
                </p>
                <p class=MsoNormal style='margin-left:42.0pt'><b><span style='font-family:宋体'>用例设计指导意见：</span></b></p>
                <p class=MsoNormal style='margin-left:42.0pt;text-indent:21.0pt'>
                    <b><span style='font-family:宋体'>用例设计的建议按照树形结构区分功能模块以及子模块，以便快速索引到功能用例。</span></b>
                </p>
                <p class=MsoNormal style='margin-left:42.0pt;text-indent:21.0pt'>
                    <b><span style="font-family:宋体">用例设计必须增加执行优先级p1,p2,p3。以便在之后的冒烟测试中可以优先执行p1用例。</span></b>
                </p>
                <p class=MsoListParagraph style='margin-left:25.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>开发完成并提测</span>
                </p>
                <p class=MsoListParagraph style='margin-left:42.0pt'>
                    <span style='font-family:宋体'>研发人员在项目截至时间发布测试版本，<b>提交测试申请单</b>（</span>
                <span lang=EN-US>
                    <a target="view-window" href="specificationFile/submitTester.htm"><span lang=EN-US style='font-family:宋体'><span lang=EN-US>提测邮件模板</span></span></a>
                </span>
                    <span style='font-family:宋体'>），测试人员收到提测邮件后进入测试阶段。</span>
                </p>
                <p class=MsoListParagraph style='margin-left:25.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>4.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>冒烟测试（可选）</span>
                    <span style='font-family:宋体'>和</span> <span style='font-family:宋体'>系统测试</span>
                </p>
                <p class=MsoListParagraph style='margin-left:42.0pt'>
                    <span style='font-family:宋体'>当测试人员收到“提测邮件”后开始执行</span>
                    <span lang=EN-US>p1</span>
                    <span style='font-family:宋体'>级别的用例进行冒烟测试，<b>如果版本较大功能较多，冒烟测试需要每天下班前邮件提交测试报告给项目组所有成员</b>（</span>
                    <span lang=EN-US><a target="view-window" href="specificationFile/smokeTestReport.htm"><span lang=EN-US style='font-family:宋体'><span lang=EN-US>冒烟测试报告模板</span></span></a></span>
                    <span style='font-family:宋体'>）</span><span lang=EN-US>.</span>
                </p>
                <p class=MsoListParagraph style='margin-left:42.0pt'>
                    <span style='font-family:宋体'>一个功能的冒烟测试完成后就进入系统测试。在预定的时间内完成</span><span lang=EN-US>p2</span>
                    <span style='font-family:宋体'>，</span><span lang=EN-US>p3</span>
                    <span style='font-family:宋体'>级别的用例执行。<b>如果无法在预定的时间节点完成测试任务，请通知上级主管并说明原因以便可以即时做出人员调配和时间调整。</b></span>
                </p>
                <p class=MsoListParagraph style='margin-left:42.0pt'><span lang=EN-US>&nbsp;</span></p>
                <p class=MsoListParagraph style='margin-left:42.0pt;text-indent:0cm'>
                    <span style='font-family:宋体'>测试人员需要提交高质量的</span><span lang=EN-US>bug</span><b><span style='font-family:宋体'>：</span></b>
                    <span style='font-family:宋体'>（</span>
                <span lang=EN-US>
                    <a target="view-window" href="../image/oneGreatBug.png"><span lang=EN-US style='font-family:宋体'><span lang=EN-US>点我查看禅道提交</span></span>bug<span lang=EN-US style='font-family:宋体'><span lang=EN-US>样板</span></span></a>
                </span>
                    <span style='font-family:宋体'>）</span>
                </p>
                <p class=MsoListParagraph style='margin-left:81.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>a.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>请一定区别</span><span lang=EN-US>bug</span>
                    <span style='font-family:宋体'>的级别。</span><span lang=EN-US>p1:</span>
                    <span style='font-family:宋体'>阻碍流程</span><span lang=EN-US>&nbsp; p2:</span>
                    <span style='font-family:宋体'>功能和逻辑异常</span>
                    <span lang=EN-US>&nbsp; p3-p4: </span><span style='font-family:宋体'>页面与样式</span>
                </p>
                <p class=MsoListParagraph style='margin-left:81.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>b.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>一个</span><span lang=EN-US>bug</span>
                    <span style='font-family:宋体'>单只描述一个问题</span>
                </p>
                <p class=MsoListParagraph style='margin-left:81.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>c.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span lang=EN-US>Bug</span><span style='font-family:宋体'>的标题用简短的语言描述问题。如：券模板管理页面中搜索功能异常</span>
                </p>
                <p class=MsoListParagraph style='margin-left:81.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>d.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>详细的描述自己的操作步骤。并且提供自己的测试账号，以及测试的环境</span>
                </p>
                <p class=MsoListParagraph style='margin-left:81.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>e.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>尽可能的提交</span><span lang=EN-US>bug</span>
                    <span style='font-family:宋体'>所在的截图。截图必须是整个浏览器，请不要上传部分截图，而且要圈出</span>
                    <span lang=EN-US>bug</span>
                    <span style='font-family:宋体'>位置。移动端截图同理（请在上传移动端截图的时候尽量处理图片的大小以便开发可以在一屏中看到截图）</span>
                </p>
                <p class=MsoListParagraph style='margin-left:81.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>f.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>如果可以请打开</span><span lang=EN-US>f12</span>
                    <span style='font-family:宋体'>控制台查看具体原因</span>
                    <span lang=EN-US>, </span>
                    <span style='font-family:宋体'>并把报错信息放在截图中</span>
                </p>
                <p class=MsoListParagraph style='margin-left:42.0pt;text-indent:0cm'>
                    <span lang=EN-US>&nbsp;</span>
                </p>
                <p class=MsoListParagraph style='margin-left:42.0pt;text-indent:0cm'>
                    <span style='font-family:宋体'>开发人员对于自己</span>
                    <span lang=EN-US>bug</span>
                    <span style='font-family:宋体'>的指导意见</span>
                </p>
                <p class=MsoListParagraph style='margin-left:81.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>a.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>开发人员请时刻注意禅道中提交给自己的</span>
                    <span lang=EN-US>bug</span>
                    <span style='font-family:宋体'>。如果可以请禅道管理员设置禅道中的提醒功能</span>
                    <span style='font-family:宋体'>如发送邮件等，以便开发可以即时更近自己的问题</span>
                </p>
                <p class=MsoListParagraph style='margin-left:81.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>b.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>测试人员会尽力区分问题所属人员，如果开发人员发现问题不是自己的管辖范围请<b>转给相关的人员</b>而不要直接退回给测试人员。如果确认不是问题的<b>请在备注中注明原因</b>再退回测试。</span>
                </p>
                <p class=MsoListParagraph style='margin-left:81.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>c.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>开发修复问题后</span>
                    <span style='font-family:宋体'>请务必点击</span>
                    <span lang=EN-US>bug</span><span style='font-family:宋体'>单中的“解决”按钮，并指派相关测试验证问题是否修复。而测试人员需要及时验收问题是否修复。</span>
                </p>
                <p class=MsoListParagraph style='margin-left:25.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>5.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>提交测试报告</span>
                </p>
                <p class=MsoNormal style='margin-left:42.0pt'>
                    <span style='font-family:宋体'>在约定的测试周期内，在所有的用例都执行完，所有的</span>
                    <span lang=EN-US>bug</span>
                    <span style='font-family:宋体'>都修复完，测试人员需要<b>针对本次测试项目编写测试总结报告以邮件形式通知产品验收</b>并抄送其他开发和测试（</span>
                    <span lang=EN-US><a target="view-window" href="specificationFile/testReport.htm"><span lang=EN-US style='font-family:宋体'><span lang=EN-US>测试报告模板文件</span></span></a></span>
                    <span style='font-family:宋体'>）。</span>
                </p>
                <p class=MsoNormal style='margin-left:42.0pt'><b><span style='font-family:宋体'>测试报告中重点需要对项目模块做出风险评估</span></b></p>
                <h2><b><span style='font-size:15.0pt;line-height:173%;font-family:宋体'>• 产品和运营验收（意见）</span></b></h2>
                <p class=MsoListParagraph style='margin-left:25.0pt;text-indent:-18.0pt'>
                    <span lang=EN-US>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
                    <span style='font-family:宋体'>当产品收到测试报告后择时对功能进行验收。发现问题请及时以文字和图片形式记录下，<b>并以邮件形式回复测试报告验收是否通过。</b>如果验收不通过请在邮件中列出问题。</span>
                </p>
                <p class=MsoListParagraph style='margin-left:34pt;text-indent:0cm'>
                    <span style='font-family:宋体'>当测试人员收到不通过的验收邮件后区分问题和优化，并将问题记录到禅道系统中的【产品验收问题】中，督促开发修复存在的问题。修复完成后邮件通知产品继续验收。</span>
                </p>
                <p class=MsoNormal style="margin-left:25.0pt;text-indent:-18.0pt">
                    <span lang=EN-US>2</span><span style='font-family:宋体'>．</span>
                    <span style='font-family:宋体'>如果需要运营或产品做线上验收，方法参考上一条。并将问题记录到【线上验收问题】。</span>
                </p>
                <p class=MsoNormal style="margin-left:25.0pt;text-indent:-18.0pt">
                    <b><span lang=EN-US>3.&nbsp;&nbsp;</span></b>
                    <b><span style='font-family:宋体'>项目或功能上线后，测试人员需要对【产品验收问题】【线上验收问题】做出总结，并且完善用例中没有覆盖的遗漏点。</span></b>
                </p>

            </div>
        </div>
    </div>
</body>
</html>